Skip to main content

Get Campaigns

AutomatR.TFMailchimp.Activities.GetCampaigns

The "Get Campaigns" activity in AutomatR is part of the Mailchimp Campaign activities package, allowing users to retrieve a list of campaigns associated with their Mailchimp account.

Properties

NameDescription
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get Campaigns" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
Campaign ResponseOutputs a list of campaign details, including names and statuses, associated with the Mailchimp account. Variables of type List<MailChimp.Net.Models.Campaign> to store the list of campaigns.

How to use:

  1. Drag and drop the "Get Campaigns" activity onto the workflow.
  2. Optionally, configure the delay property.
  3. Execute the workflow to retrieve the list of campaigns associated with the Mailchimp account.
  4. The result, a list of campaign details, will be stored in the variable specified for "Campaign Response."

Example: Consider an example where the "Get Campaigns" activity is used to retrieve the list of campaigns associated with the Mailchimp account:

Get Campaigns:
Delay: 2
Campaign Response: campaignList

In this example, the activity retrieves the list of campaign details associated with the Mailchimp account. The list of campaign details is stored in the variable "campaignList" for further handling in the workflow.